package com.easy.modules.sysmgr.service;

import java.util.List;
import java.util.Map;

import com.easy.common.web.page.DataGrid;
import com.easy.common.web.page.Msg;
import com.easy.modules.sysmgr.web.form.BackupDBForm;

public interface DataBaseServiceI {

	public String getDefaultCatalog() ;
	
	public List<Map<String, Object>> showDataBases() ;
	
	public List<Map<String, Object>> showTables(BackupDBForm form) ;
	
	public List<Map<String, Object>> tableAttr(BackupDBForm form) ;
	
	public Map<String, Object> tableScript(BackupDBForm form) ;
	
	public List<Map<String, Object>> tablesInformation(BackupDBForm form) ;
	
	public Msg backupDataBase(BackupDBForm form) ;
	
	public Msg backupTables(BackupDBForm form) ;
	
	public Msg recoverDatabase(BackupDBForm form) ;
	
	public Msg recoverTables(BackupDBForm form) ;
	
	public DataGrid datagrid(BackupDBForm form) ;
	
	public Msg deleteBackup(BackupDBForm form) ;
}
